package org.mall.modules.pojo.order.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.List;

/**
 * @Auther: LL
 * @Date: 2019/12/13 16:29
 */
@ApiModel(value = "接收获取商店id VO")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class OrdersVO implements Serializable {
    private List<String> shopIds;
    private String shopId;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private String startCreateTime ;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private String endCreateTime  ;
    /**
     * 1：天；2：周：3：月 4：年
     */
    private Integer type;
    /**
     * 一周总订单量
     */
    private Double totalOrders;
    /**
     * 一周完成支付数量
     */
    private Double completedOrders;

    /**
     * 一周订单转化率
     */
    private Double orderConversionRate;
}
